* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  width: 100%;
  height: 100%;
}
.themea {
  --bc: #e7eaee;
  --bgc: #fff;
  --fc: #000;
  --lc: #fff;
  --hbgc: #fff;
}
.themeb {
  --bc: #000;
  --bgc: #363c48;
  --fc: #fff;
  --lc: #50535a;
  --hbgc: #000;
}
.box {
  width: 100%;
  height: 100%;
}
.box .header {
  width: 100%;
  height: 64px;
  background-color: var(--hbgc);
  display: flex;
  justify-content: center;
  border-bottom: solid 1px var(--lc);
  position: relative;
  z-index: 99;
}
.box .header .menu {
  width: 1140px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.box .header .menu img {
  width: 100px;
  height: 36px;
  margin-right: 64px;
}
.box .header .menu .right {
  width: 976px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.box .header .menu .right .tab {
  font-size: 16px;
}
.box .header .menu .right .tab a {
  margin: 0 18px;
  color: var(--fc);
}
.box .header .menu .right .tab a:hover {
  color: red;
}
.box .header .menu .right .tab .active {
  color: red;
}
.box .header .menu .right .light {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.box .header .menu .right .light span {
  font-size: 23px;
  margin: 0 20px;
}
.box .header .menu .right .light .sun {
  display: inline-block;
  transition: 0.5s;
  font-size: 30px;
  color: orange;
}
.box .header .menu .right .light .moon {
  display: inline-block;
  transition: 0.2s;
  font-size: 30px;
  color: pink;
  transform: rotate(360deg);
}
.box .header .menu .right .light .sun:hover {
  transform: rotate(-25deg);
}
.box .header .menu .right .light .moon:hover {
  transform: rotate(325deg);
}
.box .header .menu .right .light .z_e {
  color: var(--fc);
}
.box .header .menu .right .light .z_e:hover {
  color: red;
}
.box .header .menu .right .light .search {
  font-weight: bold;
  color: var(--fc);
}
.box .header .menu .right .light .search:hover {
  color: red;
}
.box main {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: var(--bc);
}
.box main .box3 {
  width: 100%;
}
.box main .box2 {
  width: 1140px;
  display: flex;
  padding: 18px 0;
  justify-content: space-between;
}
.box main .box2 .box1 {
  width: 804px;
}
.box footer {
  width: 100%;
  height: 140px;
  background-color: #000;
  color: #fff;
  position: relative;
  z-index: 99;
}
.box footer div {
  text-align: center;
}
.box footer div a {
  color: grey;
  font-size: 18px;
  margin: 20px 5px;
}
.box footer p {
  margin: 0;
  text-align: center;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .box .header .menu {
    width: 970px;
  }
  .box .header .menu .right {
    width: 806px;
  }
  .box main .box3 {
    width: 970px;
  }
  .box main .box2 {
    width: 970px;
  }
  .box main .box2 .box1 {
    width: 634px;
  }
}
@media screen and (min-width: 768px) and (max-width: 992px) {
  .box .header .menu {
    width: 768px;
  }
  .box .header .menu .right {
    width: 604px;
  }
  .box main .box3 {
    width: 768px;
  }
  .box main .box2 {
    width: 768px;
  }
  .box main .box2 .box1 {
    width: 432px;
  }
}


